package com.yangye.springclouddemoclient.client;

import com.yangye.springclouddemoclient.hystrix.HelloHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * Created by yangye on 2019/6/21
 */
@FeignClient(value = "provider-service", fallback = HelloHystrix.class)
public interface HelloFeignClient {

	@GetMapping("/hello")
	String hello();
}
